package com.hyh.toyshopping.exceptions;

/**
 * @version 1.0
 * @BelongsProject:IntelliJ IDEA
 * @BelongsPackage:com.hyh.myshopping.service.Impl
 * @Author:hyhWTX
 * @ClassName:UsernameNotFoundException
 * @CreateTime:2022年-12月-06日 19:50
 * @Description:自定义异常类
 *  * 该类继承Exception或Exception的子类
 */
public class UsernameNotFoundException extends RuntimeException{
    public UsernameNotFoundException() {
        super("用户名不存在");
    }

    public UsernameNotFoundException(String message) {
        super(message);
    }
}
